{extend name="base" /}
{block name="js"}
<script src="__INDEX__/shops/shops.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<div class="l-loading" style="display: block" id="htr-loading"></div>
<div class="htr-toolbar">
	<div class='f-left tbr-m'>店铺所在地：</div>
	<select id="areaId1" class='j-ipt j-areas' level="0" onchange="HTR.ITAreas({id:'areaId1',val:this.value,className:'j-areas'});">
	  <option value="">-请选择-</option>
	  {volist name="areaList" id="vo"}
	  <option value="{$vo['areaId']}">{$vo['areaName']}</option>
	  {/volist}
	</select>
	<div class='f-left tbr-m'>店铺：</div>
	<input type="text" name="shopName"  placeholder='店铺名称/店铺编号' id="shopName" class='j-ipt'/>
	<button class="btn btn-blue" onclick='javascript:loadGrid()'>查询</button>
   {if HTRGrant('DPGL_01')}<button class="btn btn-green f-right" onclick='javascript:toEdit(0)'>新增</button>{/if}
   <div style='clear:both'></div>
</div>
<div id="maingrid"></div>
<script>
$(function(){initGrid();})
</script>
{/block}